﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="newslist.aspx.cs" Inherits="Web.About.newslist" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Register Src="~/AboutControl/footer.ascx" TagPrefix="uc1" TagName="footer" %>
<%@ Register Src="~/AboutControl/state.ascx" TagPrefix="uc1" TagName="state" %>
<%@ Register Src="~/AboutControl/headers.ascx" TagPrefix="uc1" TagName="headers" %>
<%@ Register Src="~/AboutControl/sidebar.ascx" TagPrefix="uc1" TagName="sidebar" %>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>企业动态-恒信人才</title>
    <meta charset="utf-8">
    <meta name="keywords" content="<%=Keywords %>" />
    <meta name="description" content="<%=description%>"/>
    <meta content="width=device-width, initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" name="viewport">
    <meta content="yes" name="apple-mobile-web-app-capable">
    <meta content="black" name="apple-mobile-web-app-status-bar-style">
    <meta content="telephone=yes" name="format-detection">
    <meta name="renderer" content="webkit">
    <meta content="email=no" name="format-detection">
    <link href="css/all.css" rel="stylesheet" />
     <link href="css/media.css" rel="stylesheet" /><!--各个浏览器响应式属性-->
    <link href="css/animation.css" rel="stylesheet" /><!--图片渐变键入效果样式-->
    <link href="css/base.css" rel="stylesheet" /><!--默认样式重置-->
    <link rel="stylesheet" href="css/lrtk.css"><!--banner样式-->
    <script src="js/jquery.js"></script><!--Jquery1.10.1库-->
    <script src="http://res.91job.com/Js-plug/lazyload/lazyload.js" type="text/javascript"></script>
    <style>
        /* .m-news {
            background: url(../images/xwdt-bj.png)no-repeat left top
        } */
        .new-bg{
            position: relative;
            width: 100%;
        }
         .new-bg img{
           
            width: 100%;
        }
        .new-bg::after{
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.3);
        }
        .news-center-t{
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%,-50%);
          font-size: 66px;
    color: #fff;
    font-weight: bold;
    text-align: center;
    z-index: 1;
        }
    </style>
</head>
  
<body id="home">
    <form id="form1" runat="server">
        <uc1:headers runat="server" ID="headers" />
        <uc1:sidebar runat="server" ID="sidebar" />
        <!--新闻列表-->
        <div class="m-news">
            <div class="new-bg">
                <img src="/images/index/news_bg.png" alt="">
                <div class="news-center-t">咨询中心</div>
            </div>
            <!-- <div class="news-title">
                <h1 style="color:white">企业动态</h1>
                <p style="color:white;">Company Trends</p>
                <%--<em></em>--%>
            </div> -->
            <div class="news-classify">
                <ul>
                    <li><a href="companynews.html" class="newss xinwen">公司新闻</a></li>                
                    <li><a href="activity.html" class="newss hangye">行业动态</a></li>                   
                    <div class="clear"></div>
                </ul>
            </div>

            <div class="news-list">
                <ul>
                    <asp:Repeater ID="Repeater1" runat="server">
                        <ItemTemplate>
                            <li>
                                <div class="list-img">                                  
                                     <a href="/news-<%#Eval("id") %>.html">
                                         <img src="<%#change(Eval("jobnewsimgid").ToString(),Eval("abouturl").ToString())%>"" alt="<%#Eval("jobtitle") %>" />                                  
                                          </a>
                                &nbsp;</div>
                                <div class="list-info">
                                    <h1>
                                       <a href="/news-<%#Eval("id") %>.html"><%#Eval("jobtitle") %> </a>
                                    </h1>
                                    <%#Switch(Eval("jobtypes").ToString())%>
                                </div>
                                <div class="list-time">
                                    <p> <%#DateTime.Parse(Eval("jobnewdate","{0:d}")).ToString("yyyy-MM-dd")%></p>
                                  
                                   <a href="/news-<%#Eval("id") %>.html">    点击查看</a>
                                </div>
                            </li>
                        </ItemTemplate>
                    </asp:Repeater>
                    <div class="clear"></div>
                </ul>
                 <div class="news-page">
                <ul>
                    <webdiyer:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_PageChanged" PageSize="10" UrlPaging="True" AlwaysShow="True" ShowFirstLast="False" ShowPageIndexBox="Never" EnableUrlRewriting="True"></webdiyer:AspNetPager>
                </ul>
            </div>
            </div>
           
        </div>
        <!--新闻列表结束-->
        <uc1:footer runat="server" ID="footer" />
        <uc1:state runat="server" ID="state" />
    </form>
    <script>
       // 修复导航激活状态功能
        const sections = $('.section');
        const navItems = $('.news-classify .newss');
        // 点击导航项处理
        // navItems.click(function(e) {
        //     e.preventDefault();
            
        //     // 移除所有active类
        //     navItems.removeClass('active');
        //     // 给当前点击项添加active类
        //     $(this).addClass('active');
            
        //     const target = $(this).data('target');
        //     scrollToTarget('#' + target);
        // });
      
    </script>
</body>

</html>
